1
general::
Also, get or take it into one's head. Form an impression, idea, or plan. For example, What strange idea has she got into her head? or He took it into his head that you want to quit. [Late 1600s] Also see GET THROUGH ONE'S HEAD.
American Heritage Idioms